home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / code / r3mpray.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.8 KB  |  70 lines

  1.  
  2. // JavaScript wrapper for r3mpray.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_MATPROPRAYTR_H = 1;
  7. include("real/code/r3matprp.js")
  8.  
  9.  
  10. var R3CLID_MPRAYTRACER = 1549;
  11.  
  12.  
  13.  
  14.  
  15. R3MPRAYA_Randomness = 1549500;
  16. function SetR3MPRAYA_Randomness(value) {
  17.   R3Set(this.r3obj, R3MPRAYA_Randomness, value, R3TID_FLOAT, 0); 
  18. }
  19.  
  20. function GetR3MPRAYA_Randomness() {
  21.   return R3Get(this.r3obj, R3MPRAYA_Randomness, R3TID_FLOAT, 0); 
  22. }
  23.  
  24. R3MPRAYA_RayCount = 1549501;
  25. function SetR3MPRAYA_RayCount(value) {
  26.   R3Set(this.r3obj, R3MPRAYA_RayCount, value, R3TID_INTEGER, 0); 
  27. }
  28.  
  29. function GetR3MPRAYA_RayCount() {
  30.   return R3Get(this.r3obj, R3MPRAYA_RayCount, R3TID_INTEGER, 0); 
  31. }
  32.  
  33. R3MPRAYA_NormalSide = 1549502;
  34. function SetR3MPRAYA_NormalSide(value) {
  35.   R3Set(this.r3obj, R3MPRAYA_NormalSide, value, R3TID_INTEGER, 0); 
  36. }
  37.  
  38. function GetR3MPRAYA_NormalSide() {
  39.   return R3Get(this.r3obj, R3MPRAYA_NormalSide, R3TID_INTEGER, 0); 
  40. }
  41.  
  42. R3MPRAYA_WeightByAngle = 1549503;
  43. function SetR3MPRAYA_WeightByAngle(value) {
  44.   R3Set(this.r3obj, R3MPRAYA_WeightByAngle, value, R3TID_INTEGER, 0); 
  45. }
  46.  
  47. function GetR3MPRAYA_WeightByAngle() {
  48.   return R3Get(this.r3obj, R3MPRAYA_WeightByAngle, R3TID_INTEGER, 0); 
  49. }
  50.  
  51.  
  52.  
  53. function r3Mpraytracer () { 
  54.    this.base = r3God;
  55.    if(arguments.length) {
  56.       this.base(R3CLID_MPRAYTRACER, arguments);
  57.    }
  58.    // Attributes
  59.    this.GetRandomness=GetR3MPRAYA_Randomness;
  60.    this.SetRandomness=SetR3MPRAYA_Randomness;
  61.    this.GetRayCount=GetR3MPRAYA_RayCount;
  62.    this.SetRayCount=SetR3MPRAYA_RayCount;
  63.    this.GetNormalSide=GetR3MPRAYA_NormalSide;
  64.    this.SetNormalSide=SetR3MPRAYA_NormalSide;
  65.    this.GetWeightByAngle=GetR3MPRAYA_WeightByAngle;
  66.    this.SetWeightByAngle=SetR3MPRAYA_WeightByAngle;
  67. }
  68.  
  69. r3Mpraytracer.prototype=new r3Matprop;
  70. // r3mpray.h_H